<!--<?php
require_once template('header'); 
print <<<EOT
<!--右边开始-->
<div id="right">
	<form method="post" action="" name="mvmmall" onsubmit = "return styles();"> 
	<input type="hidden" name="action" value="$action"/>
	<input type="hidden" name="uid" value="$uid"/>
	<input type="hidden" name="setp" value="1"/>
	<table cellpadding="0" cellspacing="1" class="list1">
		<tr>
			<th width="4%">ID</th>
			<th width="50%">$lang[increased_style]</th>
			<th>$lang[operation]</th>
		</tr>
		<tr >
			<td>1</td>
			<td class="td_left1">$lang[style_name]</td>
			<td><input type="text" name="style_name" id="style_name" value="$name" size="25" maxlength="255" class="text" /></td>
		</tr>
		<tr >
			<td>2</td>
			<td class="td_left1">$lang[is_available]</td>
			<td>
			<input type="radio" value="1" name="available" $use_chk />
			$lang[yes]　
			<input type="radio" value="0" name="available"  $uset_chk />
			$lang[no]</td>
		</tr>
		<tr >
			<td>3</td>
			<td class="td_left1">$lang[templates_used]</td>
			<td>
			$tplpath_menu
			</td>
		</tr>
<!--
EOT;
foreach ($styles_list as $val){
print <<<EOT
-->			
		<tr >
			<td>4</td>
			<td class="td_left1">$val[label]</td>
			<td><input type="text" name="$val[name]" id="$val[name]" value="$val[value]" size="25" maxlength="255" class="text"/>
			 <span style="color:$val[value]">■■■■</span></td>
		</tr>
<!--
EOT;
} print <<<EOT
-->		
	</table>
	<div id="tfoot"><input type="submit" name="Submit" value="&nbsp;$lang[submit]&nbsp;" onclick="" /> <input type="reset" name="reset" value="&nbsp;$lang[reset] &nbsp;" /></div>
	</form>
</div>
<!--
EOT;
?>-->